package com.yunhe.bean;
/**
 * 
 * @author qwl
 * 用于生成处理订单信息
 *
 */
public class OrderInfo {
	private Integer orderID;		//订单ID
	private Integer userID;			//用户ID
	private Integer commodityID;	//商品ID
	private String addressID;		//地址ID
	private String orderTime;		//生成订单时间
	private Integer orderState=1;		//订单状态
	private Integer quantityPurchased=1; //购买数量
	private String detailedAddress;		//详细地址
	private String orderSerialNumber;	//订单流水号
	
	
	public String getOrderSerialNumber() {
		return orderSerialNumber;
	}
	public void setOrderSerialNumber(String orderSerialNumber) {
		this.orderSerialNumber = orderSerialNumber;
	}
	public Integer getOrderID() {
		return orderID;
	}
	public void setOrderID(Integer orderID) {
		this.orderID = orderID;
	}
	public Integer getUserID() {
		return userID;
	}
	public void setUserID(Integer userID) {
		this.userID = userID;
	}
	public Integer getCommodityID() {
		return commodityID;
	}
	public void setCommodityID(Integer commodityID) {
		this.commodityID = commodityID;
	}
	public String getAddressID() {
		return addressID;
	}
	public void setAddressID(String addressID) {
		this.addressID = addressID;
	}
	public String getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(String orderTime) {
		this.orderTime = orderTime;
	}
	public Integer getOrderState() {
		return orderState;
	}
	public void setOrderState(Integer orderState) {
		this.orderState = orderState;
	}
	public Integer getQuantityPurchased() {
		return quantityPurchased;
	}
	public void setQuantityPurchased(Integer quantityPurchased) {
		this.quantityPurchased = quantityPurchased;
	}
	public String getDetailedAddress() {
		return detailedAddress;
	}
	public void setDetailedAddress(String detailedAddress) {
		this.detailedAddress = detailedAddress;
	}
	@Override
	public String toString() {
		return "OrderInfo [orderID=" + orderID + ", userID=" + userID
				+ ", commodityID=" + commodityID + ", addressID=" + addressID
				+ ", orderTime=" + orderTime + ", orderState=" + orderState
				+ ", quantityPurchased=" + quantityPurchased
				+ ", detailedAddress=" + detailedAddress + "]";
	}
	
	
	
	
	
	

}
